<?php $this->load->view('auth/header'); ?>

<h3 class="title_black"><?php echo __('log_in'); ?></h3>

<?php echo isset($error) ? $error : NULL; ?>

<div class="content toggle">
    <?php echo form_open('login') ?>

    <dl>
        <dt><label><?php echo __('email'); ?>: </label></dt>
        <dd>
            <?php echo form_input(array('name' => 'email', 'value' => set_value('email'))); ?> 
        </dd>
    </dl>

    <dl>
        <dt><label><?php echo __('password'); ?>: </label></dt>
        <dd>
            <?php echo form_password(array('name' => 'password', 'value' => set_value('password'))); ?> 
        </dd>
    </dl>

    <?php echo form_submit(array('name' => 'btn_submit', 'id' => 'btn_submit', 'value' => __('log_in'))); ?>
    <?php echo form_close(); ?> 
    <dl>
        <dt>&nbsp;</dt>
        <dd><?php echo anchor('password-recovery', __('forgot_your_password'), array('style' => 'font-size: 85%;')); ?></dd>
    </dl>

    <div style="clear: both;">&nbsp;</div>

</div>

<?php $this->load->view('auth/footer'); ?>
